<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="/WEB-INF/views/taglibs.jsp"%>
<div class="m_left fl">
  <ul>
    <c:forEach var="level1" items="${menuModule.children }">
      <c:if test="${tag == level1.sn }">
	    <c:forEach var="level2" items="${level1.children }">
	      <li>
		    <img src="${contextPath }/styles/public/images/nav.png" />
		    <c:if test="${level2.url == '#' }"><c:set var="goUrl" value="${level2.url }"/></c:if>
		    <c:if test="${level2.url != '#' }"><c:set var="goUrl" value="${contextPath }${level2.url }"/></c:if>
		    <a href='javascript:goToPage("${goUrl }")'>
		      <div class='nav1 <c:if test="${tag1 == level2.sn }"> nav_on</c:if>'>${level2.name }</div>
		    </a>
    		  <c:forEach var="level3" items="${level2.children }">
			    <c:if test="${level3.url == '#' }"><c:set var="goUrl1" value="${level3.url }"/></c:if>
			    <c:if test="${level3.url != '#' }"><c:set var="goUrl1" value="${contextPath }${level3.url }"/></c:if>
		  	    <a href='javascript:goToPage("${goUrl1 }")'>
		  	      <div class='nav2 <c:if test="${tag1 == level3.sn }"> nav_on</c:if>'>${level3.name }</div>
		  	    </a>
    		  </c:forEach>
		  </li>
		</c:forEach>
      </c:if>
    </c:forEach>
  </ul>
</div>
  <%-- <ul>
    <li>
	  <img src="${contextPath }/styles/public/images/nav.png" />
	  <div class="nav1">客户人员</div>
	  <div class="nav2">小二级菜单</div>
	  <div class="nav2">小二级</div>
	</li>
	<li>
	  <img src="${contextPath }/styles/public/images/nav.png" />
	  <div class="nav1">运维人员</div>
	  <div class="nav2 nav_on">小二级菜单</div>
	  <div class="nav2">小二级</div>
	</li>
	<li>
	  <img src="${contextPath }/styles/public/images/nav.png" />
	  <div class="nav1">角色</div>
	  <div class="nav2 nav_on">角色管理</div>
	  <div class="nav2">角色管理</div>
	</li>
  </ul> --%>